package com.nanhai.buddhist.college.module.collegebase.controller.admin.classes.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 学校管理-班级 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class ClassesBaseVO {

    @ApiModelProperty(value = "班级编号")
    private String classesNumber;

    @ApiModelProperty(value = "班级名称")
    private String classesName;

    @ApiModelProperty(value = "班级代码")
    private String classesCode;

    @ApiModelProperty(value = "专业id")
    private String professionId;

    @ApiModelProperty(value = "班级介绍")
    private String classesIntroduce;

    @ApiModelProperty(value = "所属年级")
    private String classesGrade;

    @ApiModelProperty(value = "开班时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date openingTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @NotBlank(message = "班主任 不能为空")
    @ApiModelProperty(value = "班主任")
    private String classTeacherName;
    @NotBlank(message = "辅导员 不能为空")
    @ApiModelProperty(value = "辅导员")
    private String classInstructorName;

    @ApiModelProperty(value = "在班学生")
    private String studentsCount;

    @ApiModelProperty(value = "设定学生请假审核人")
    private Integer teacherUserType;

}
